package com.tensquare.friend.controller;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@CrossOrigin
@RequestMapping("/test")
public class TestController {

    @RequestMapping(value = "/test", method =  RequestMethod.GET)
    public void test(){
        System.out.println("1");
        System.out.println("2");
    }
}
